﻿<!DOCTYPE html>
<html ng-app="msxrmtools" ng-controller="msxrmtoolsCtrl">
<head>
    <title>FetchXML Tester - http://msxrmtools.com</title>
    <meta name="description" content="Test Microsoft Dynamics CRM Fetch XML Online.">
    <meta name="keywords" content="MS CRM, FetchXML Tester, FetchXML Query, MS CRM Online">
    <meta charset="utf-8" />

    <script src="jquery.js"></script>
    <script src="json2.js"></script>
    <script src="../Scripts/angular.min.js"></script>
    <script src="../Scripts/metro.min.js"></script>
    <link href="../Content/metro.css" rel="stylesheet" />
    
    <!--<script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/json2/20150503/json2.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.5/angular.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/metro/3.0.14/js/metro.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/metro/3.0.14/css/metro.min.css" rel="stylesheet" />-->


    <style>
       html, body {
           overflow:auto;
        }
        .table th, .table tbody td {
            white-space:nowrap;
        }
    </style>
</head>
<body class="padding5">
    <div class="app-bar red" data-role="appbar">
        <a class="app-bar-element branding" href="http://msxrmtools.com">MSXRMTOOLS</a>
        <span class="app-bar-divider"></span>
        <ul class="app-bar-menu">
            <li data-flexorderorigin="0" data-flexorder="1" class="bg-red"><a href="#">FetchXML Tester</a></li>
            <li data-flexorderorigin="1" data-flexorder="2"><a href="http://msxrmtools.com/fetchxml/reference">FetchXML Tutorials</a></li>
            <li data-flexorderorigin="2" data-flexorder="3"><a href="http://blog.msxrmtools.com/">Blog</a></li>
        </ul>
    </div>
    <div class="grid">
        <div class="row cells3">
            <div class="cell colspan2">
                <div class="bg-red fg-white padding5" ng-show="error.length && fetchxml">{{error}}</div>
                <div class="input-control textarea" data-role="input" data-text-auto-resize="true">
                    <textarea id="fetchXML" ng-change="error=''" ng-model="fetchxml" rows="4" cols="120" placeholder="Paste Fetch XML here..."></textarea>
                </div>
                <div class="row">
                    <button class="button lighten" ng-click="executeFetch()" ng-class="{success:fetchxml.length}" ng-disabled="!fetchxml.length">{{buttonText}}</button>
                </div>
                <div class="row" style="overflow:auto; -ms-overflow-style: scrollbar;">
                    <table id="fetchDataTable" class="table border bordered"></table>
                </div>
            </div>
            <div class="cell">
                <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                <!-- msxrmtools-responsive -->
                <ins class="adsbygoogle"
                     style="display:block"
                     data-ad-client="ca-pub-8895207581859426"
                     data-ad-slot="6371769926"
                     data-ad-format="auto"></ins>
                <script>
(adsbygoogle = window.adsbygoogle || []).push({});
                </script>

                <ins class="adsbygoogle"
                     style="display:block"
                     data-ad-client="ca-pub-8895207581859426"
                     data-ad-slot="6371769926"
                     data-ad-format="auto"></ins>
                <script>
(adsbygoogle = window.adsbygoogle || []).push({});
                </script>
            </div>
        </div>

    </div>
    <footer class="align-center">
        <p>&copy; 2016 - Msxrmtools.com  | <a href="mailto:contact@msxrmtools.com">contact@msxrmtools.com</a></p>
    </footer>
    <!--<script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-74761160-1', 'auto');
        ga('send', 'pageview');
    </script>-->

</body>
</html>
